package com.wisezone.grademanager;

import java.util.ArrayList;
import java.util.List;

/**
 * 班级类
 */
public class Grade {
	private String name; // 班级名称
	private String number; // 班级编号
	private List<Student> studentLists = new ArrayList<>(); //存储学生容器

	public Grade(String name, String number) {
		this.name = name;
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public List<Student> getStudentLists() {
		return studentLists;
	}

	public void setStudentLists(List<Student> studentLists) {
		this.studentLists = studentLists;
	}

	@Override
	public String toString() {
		return number + "\t" + name;
	}

}
